<template>
  <div class="navbar">
    <div class="left">
      <slot name="left"></slot>
    </div>

    <div class="center">
      <slot name="center"></slot>
    </div>

    <div class="right">
      <slot name="right"></slot>
    </div>
  </div>
</template>

<script>
export default {}
</script>

<style scoped>
.navbar {
  display: flex;
  height: 44px;
  line-height: 44px;
  box-shadow: 0 1px 1px rgba(100, 100, 100, 0.2);
  background-color: deeppink;
}

.left {
  width: 60px;
  text-align: left;
  margin-left: 5px;
  font-size: 18px;
  color: white;
}
.right {
  width: 60px;
  text-align: right;
  font-size: 18px;
  margin-right: 5px;
  color: white;
}
.center {
  flex: 1;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  color: white;
}
</style>
